package enum_demo.zidingyi_demo;

/**
 * @author ChenYongHao
 * @date 2023/5/4 11:37
 * @desc 自定义枚举类 第一版
 */
public class Direction1 {
    // 创建几个实例
    public static final Direction1 FRONT = new Direction1();
    public static final Direction1 BEHIND = new Direction1();
    public static final Direction1 LEFT = new Direction1();
    public static final Direction1 RIGHT = new Direction1();

    // 私有构造方法
    private Direction1() {}
}

